//
//  VoiceReadDetailModel.h
//  ShowYork
//
//  Created by hxh on 2021/4/21.
//  Copyright © 2021 hxh. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    XHPlayerNormal,
    XHPlayerPause,
    XHPlayerPlay,
    XHPlayerFailed,
    XHPlayerFinish,
    XHPlayerReady,
} XHPlayerStatus;

NS_ASSUME_NONNULL_BEGIN
/*
 [0]    (null)    @"id" : (long)1
 [1]    (null)    @"modifyUserId" : (long)1
 [2]    (null)    @"voiceContent" : @"Flo Rida-Can't Believe It"
 [3]    (null)    @"voiceUrl" : @"https://showyork-test.oss-cn-hangzhou.aliyuncs.com/mp3/Flo%20Rida-Can%27t%20Believe%20It.mp3?Expires=1619001557&OSSAccessKeyId=TMP.3KfJKa2zZ4U1MQ4o4tNeQKuorYn2xGjeqDWmNwbqh1QjzSgPMsMPJTu84q95Q1KKcTM4MXVrJVT1gweSSCfohHzhRCVNLQ&Signature=dlx1c3xOueUxVcHUlQa9NOfO7ko%3D"
 [4]    (null)    @"modifyUserName" : @"测测"
 [5]    (null)    @"createUserName" : @"测测"
 [6]    (null)    @"seq" : @"1"
 [7]    (null)    @"title" : @"Flo Rida"
 [8]    (null)    @"type" : @"1"
 [9]    (null)    @"createTime" : (long)1618809468000
 [10]    (null)    @"createUserId" : (long)1
 [11]    (null)    @"modifyTime" : (long)1618809477000
 [12]    (null)    @"voiceId" : (long)1
 */
@interface VoiceReadDetailPlayerModel : NSObject
@property (nonatomic,assign)CGFloat totalTime;
@property (nonatomic,assign)CGFloat currentTime;
@property (nonatomic,assign)CGFloat progress;
@property (nonatomic,assign)XHPlayerStatus status;
@property (nonatomic,strong)NSNumber *id;
@property (nonatomic,copy)NSString *voiceContent;
@property (nonatomic,copy)NSString *voiceUrl;
@property (nonatomic,copy)NSString *title;
@property (nonatomic,strong)NSNumber *voiceId;
@property (nonatomic,assign)BOOL isLoading;
@property (nonatomic,copy)NSString *seq;
@property (nonatomic,strong)NSNumber *index;
@property (nonatomic,copy)NSString *createUser;
@end

NS_ASSUME_NONNULL_END
